package com.so206.service;

import com.github.pagehelper.PageInfo;
import com.so206.po.SystemNotice;

import java.util.List;

public interface NoticeService {

    Long saveNotice(SystemNotice notice);

    SystemNotice findById(Long id);

    int updateNotice(SystemNotice notice);

    void deleteNotice(Long id);

    PageInfo<SystemNotice> findNoticeByPage(Integer page, Integer rows, Integer status);

    List<SystemNotice> findDisplayNotices();


}
